<h1>Nuevo Cat&aacute;logo</h1>
<% form_for :catalog, @catalog, :url => {:action => :create} do |c| %>
  <%= error_messages_for :catalog %>
  <p><label>Name:</label>&nbsp;<%= c.text_field(:name) %></p>
  <p><label>Description:</label>&nbsp;<%= c.text_area(:description) %></p>
  <p><label>Parent</label>&nbsp;<%= c.collection_select(:parent_id, @catalogs,
    :id, :name, {:include_blank => true}) %></p>
  <p><%= submit_tag "Guardar" %></p>
<%  end %>
<p><%= link_to "Regresar", :action => "index" %></p>